﻿using HRX.PayCenter.ApplicationCore.Models;
using OSS.PaySdk.Ali.Pay.Mos;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace HRX.PayCenter.ApplicationCore.Interfaces
{
    public interface IPayService
    {
        /// <summary>
        /// 
        /// </summary>
        /// <param name="formDics"></param>
        /// <returns></returns>
        bool CheckCallBackSign(IDictionary<string, string> formDics);

        Task<bool> CheckOrderOrUpdate(ZPayCallBackResp zPayCallBack, bool isAsync);

        Task<string> GetWapTradeContentWithOrder(TradeRequest alipayTradeRequest);

        Task<bool> Refund(RefundRequest request);

        Task<bool> Transfer(DiviseRequet request);
    }
}
